
package com.sausageking.client.consumer.ui;

import com.google.gwt.user.client.ui.IsWidget;
import com.sausageking.client.ConsumerService.AuthType;
import com.sausageking.client.common.Context;
import com.sausageking.shared.BuyerException.Code;

public interface RedeemDialogView extends IsWidget {

  RedeemDialogView setContext(Context context);

  void show();

  void hide();

  RedeemDialogView setError(Code errorCode);

  RedeemDialogView setPresenter(Presenter presenter);

  interface Presenter {
    public void redeem(String email, String merchantId, AuthType authType,
        String secret);
  }

}
